// 创建axios实例对象统一封装接口
import axios from "axios";

const instance = axios.create({
    baseURL: 'http://localhost:3000',
    timeout: 2000,
  });

// 将接口实例暴露出去
export default instance